<?php
class Amain {
	public static function main($sfuncode) {
		list($classid, $funcode) = explode('-', $sfuncode, 2);
		switch ($classid) {
			case 1:
				require 'anchor.lib.php';
				Aanchor::main($funcode);
				break;
			default:
				sview::$view->assign_error(404, lang::text(404));
		}
	}
}